libglnx porting: Use glnx_shutil_rm_rf_at()
authorColin Walters <walters@verbum.org>
Fri, 18 Mar 2016 20:59:59 +0000 (16:59 -0400)
committerColin Walters <walters@verbum.org>
Wed, 23 Mar 2016 14:26:01 +0000 (10:26 -0400)
commit18530894c74a9b7be73ca334e2e87d7dbe01f9c6
treefddeec34815e5fd1c85e7beb9edac4445446e1f1
parentd456fe5adb00aaf66af001ee003c8ff8cf53581b
libglnx porting: Use glnx_shutil_rm_rf_at()

In some cases (such as `ostree-sysroot-cleanup.c`), the surrounding
code would be substantially cleaner if it was also ported to
fd-relative, but I'm going to do that in a separate patch.

That way these patches are easier to review for mechanical
correctness.  I used an Emacs keyboard macro as the poor man's
[Coccinelle](http://coccinelle.lip6.fr/).
src/libostree/ostree-repo-commit.c
src/libostree/ostree-repo-prune.c
src/libostree/ostree-sysroot-cleanup.c
src/libostree/ostree-sysroot-deploy.c
src/ostree/ot-admin-builtin-deploy.c